/**
 * Created by tessi on 2016/10/9.
 */
var News = require('./../models/news.js');
exports.addewsN= function (req, res) {
    if (req.params.name) {
        return res.render('news', {title:req.params.name});
    } else {
        return res.render('news', {title:'新增加电影'});
    }
};
exports.doNewsAdd = function (req, res) {
    res.send({'success': true});
};